.diagram_container {
  position: relative;
  background: #f5f5f5;
  height: 100%;
  /* 调试机器人画布用 */
  /* background: #9ff394; */
}

.diagram-component {
  width: 100%;
  height: 100%;
  border: 1px solid #ddd;
}

/* 图样式 */
canvas {
  outline: none;
}

/* 临时-操作按钮-通用样式 */
.temp_btn_container {
  position: absolute;
  top: 20px;
  right: 80px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  background: #87d068;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* 操作按钮-通用样式 */
.btn_container {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1890ff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
}

/* 回退版本 */
.revert_container {
  top: 80px;
}

/* 全屏显示 */
.full_container {
  top: 140px;
}
/* 同步发布版本 */
.sync_publish_container {
  top: 200px;
}

/*流程图-只读*/
.diagram_view {
  /* 全屏显示 */
  .full_container {
    top: 20px;
  }
}
